package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_dict_item`")
@Data
@ApiModel("")
public class SysDictItem implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "Id", example = "String")
    private String id;
    @Column(name = "`dict_id`")
    @ApiModelProperty(value = "字典id", example = "String")
    private String dictId;
    @Column(name = "`item_text`")
    @ApiModelProperty(value = "字典项文本", example = "String")
    private String itemText;
    @Column(name = "`item_value`")
    @ApiModelProperty(value = "字典项值", example = "String")
    private String itemValue;
    @Column(name = "`description`")
    @ApiModelProperty(value = "描述", example = "String")
    private String description;
    @Column(name = "`sort_order`")
    @ApiModelProperty(value = "排序", example = "1")
    private Integer sortOrder;
    @Column(name = "`status`")
    @ApiModelProperty(value = "状态（1启用0不启用）", example = "1")
    private Integer status;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "CreateBy", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "CreateTime", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "UpdateBy", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "UpdateTime", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
